$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_skia_FontCacheSkia_cpp,v 1.3 2015/04/27 16:38:25 robert Exp $
--- third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp.orig.port	Wed Apr 15 09:39:48 2015
+++ third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp	Wed Apr 15 09:40:36 2015
@@ -30,7 +30,7 @@
 
 #include "config.h"
 
-#if !OS(WIN) && !OS(ANDROID)
+#if !OS(WIN) && !OS(ANDROID) && !OS(OPENBSD)
 #include "SkFontConfigInterface.h"
 #endif
 #include "SkFontMgr.h"
@@ -48,7 +48,7 @@
 #include "wtf/text/CString.h"
 #include <unicode/locid.h>
 
-#if !OS(WIN) && !OS(ANDROID)
+#if !OS(WIN) && !OS(ANDROID) && !OS(OPENBSD)
 static SkStreamAsset* streamForFontconfigInterfaceId(int fontconfigInterfaceId)
 {
     SkAutoTUnref<SkFontConfigInterface> fci(SkFontConfigInterface::RefGlobal());
@@ -187,9 +187,11 @@ PassRefPtr<SkTypeface> FontCache::createTypeface(const
 #if !OS(WIN) && !OS(ANDROID)
     if (creationParams.creationType() == CreateFontByFciIdAndTtcIndex) {
         SkTypeface* typeface = nullptr;
+#if !OS(OPENBSD)
         if (Platform::current()->sandboxSupport())
             typeface = SkTypeface::CreateFromStream(streamForFontconfigInterfaceId(creationParams.fontconfigInterfaceId()), creationParams.ttcIndex());
         else
+#endif
             typeface = SkTypeface::CreateFromFile(creationParams.filename().data(), creationParams.ttcIndex());
 
         if (typeface)
